﻿using AuthCenter.ErrorCode;
using MediatR;

namespace AuthCenter.Api.Write.Application.Command.Apply
{
    public class UpdateApplyCommand:IRequest<ApiResult<int>>
    {
        public long Id { get; set;}
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 申请部门Id
        /// </summary>
        public long departmentId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string TypeName { get; set; }
        // <summary>
        /// 请假时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 请假结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 请假事由
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string Leader { get; set; }
        /// <summary>
        /// 请假天数
        /// </summary>
        public int? Hour { get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime? reportTime { get; set; }
    }
}
